import xhhx.manager.ActorManager;
import xhhx.manager.DataManager;
import xhhx.manager.MsgManager;
import xhhx.manager.NettyManager;

public class Main {
    public static void main(String[] args) {
        Bootstrap bootstrap = new Bootstrap();
        bootstrap.Run();
    }
}

class Bootstrap {
    public void Run() {
        ActorManager.Init();
        DataManager.Init();
        MsgManager.Init();

        NettyManager.Run();

        ActorManager.Close();
        DataManager.Close();
        MsgManager.Close();

    }
}
